package com.ruoyi.admins.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 管理员表对象 admin
 * 
 * @author ruoyi
 * @date 2025-06-03
 */
public class Admin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private String usersn;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String userpwd;

    public void setUsersn(String usersn) 
    {
        this.usersn = usersn;
    }

    public String getUsersn() 
    {
        return usersn;
    }
    public void setUserpwd(String userpwd) 
    {
        this.userpwd = userpwd;
    }

    public String getUserpwd() 
    {
        return userpwd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("usersn", getUsersn())
            .append("userpwd", getUserpwd())
            .toString();
    }
}
